|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<GASettings>
ga.view.config.ViewSettings
public class ViewSettings
This is an extended ArrayList that parses and holds all
GASettings.
| Field Summary | |
|---|---|
private static java.util.logging.Logger |
LOGGER
|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
ViewSettings()
Instantiates a new view settings. |
|
ViewSettings(org.jdom.Element e)
Instantiates a new view settings and parses the GASettings from
xml. |
|
| Method Summary | |
|---|---|
static ViewSettings |
buildFromXml(java.io.File file)
Builds the viewsettings from xml. |
static ViewSettings |
buildFromXml(java.io.InputStream is)
Builds the from xml. |
static ViewSettings |
buildFromXml(java.lang.String filename)
Builds the viewsettings from xml. |
GASettings |
get(java.lang.String name)
Gets a GASettings instance by its name. |
static void |
main(java.lang.String[] args)
The main method for testing. |
private void |
parse(org.jdom.Element e)
Parses the xml elements and creates all objects. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
|---|
private static final java.util.logging.Logger LOGGER
| Constructor Detail |
|---|
public ViewSettings()
public ViewSettings(org.jdom.Element e)
GASettings from
xml.
e - The xml Element| Method Detail |
|---|
public static ViewSettings buildFromXml(java.lang.String filename)
filename - the filename to load
public static ViewSettings buildFromXml(java.io.File file)
file - the file to load
public static ViewSettings buildFromXml(java.io.InputStream is)
is - the input stream to load
private void parse(org.jdom.Element e)
e - the xml Element.public GASettings get(java.lang.String name)
GASettings instance by its name.
name - Name of the settings.
public static void main(java.lang.String[] args)
args - the arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||